<!--
 * @Description: 代码编辑器
 * @version: V1.0.0
 * @Author: Shuangshuang Song
 * @Date: 2020-11-27 14:03:23
 * @LastEditTime: 2020-11-27 15:51:04
 * @LastEditors: Shuangshuang Song
-->
<template>
  <div class="plugin-monaco" />
</template>
<script>
import * as monaco from 'monaco-editor';

export default {
  name: 'MonacoEdit',
  created() {
    if (!window.monaco) {
      window.monaco = monaco;
    }
  },
};
</script>
